package com.henghai.zhenxuan.data.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

public class GainPointsApi implements IRequestApi, IRequestType {

    private String pointsChange;
    private String actionType;
    private String actionDetail;

    public GainPointsApi(String pointsChange, String actionType, String actionDetail) {
        this.pointsChange = pointsChange;
        this.actionType = actionType;
        this.actionDetail = actionDetail;
    }

    @NonNull
    @Override
    public String getApi() {
        return "/system/userPointsLog/gainPoints";
    }

    @NonNull
    @Override
    public BodyType getBodyType() {
        return BodyType.JSON;
    }
}
